<?php
require_once('include.php');
$act = $_REQUEST['act'];
if ($act === 'register') {
  $mes = register();
} elseif ($act === 'login') {
  $mes = login();
}

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta content="text/html; charset=utf-8">
<title>跳转</title>
</head>
<body>
<?php
if ($mes) {
  echo $mes;
}
?>

</body>
</head>
</html>